#cmake file
#author:edward
#created:2015-10-24

cmake_minimum_required(VERSION 2.8)
PROJECT(api)

SET(CMAKE_CXX_FLAGS "-g -std=c++0x -Wall -lpthread -rdynamic -ldl -Dlinux -D_DEBUG")
SET(CMAKE_CXX_FLAGS_DEBUG "-g -std=c++0x -lpthread -rdynamic -ldl -Dlinux -D_DEBUG")
SET(CMAKE_CXX_FLAGS_RELEASE "-g -std=c++0x -lpthread -rdynamic -ldl -Dlinux")
MESSAGE(STATUS "Linux")

AUX_SOURCE_DIRECTORY(${PROJECT_SOURCE_DIR}/src/public PUBLIC)

ADD_SUBDIRECTORY(${PROJECT_SOURCE_DIR}/src/product/)
ADD_SUBDIRECTORY(${PROJECT_SOURCE_DIR}/src/test/)
